#include<iostream>
#include<string>

class MyString : public std::string
{
    public:
    MyString(const char *str):std::string(str){}

};


int main()
{
    MyString s = "hello";
    s += "world";
    std::cout << s << std::endl;
    return 0;
}